module.exports = {
  presets: [
    '@vue/cli-plugin-babel/preset'
  ],
  // 全量加载时不要使用 babel-plugin-import 这个插件，否则就报 Antd is not defined
  plugins: [
    ['component', { libraryName: 'element-plus', styleLibraryName: 'theme-chalk' }]
    // ['import', { libraryName: 'ant-design-vue', libraryDirectory: 'es', style: true }]
  ]
};
